/**
 * 
 */
package vo;

import java.util.List;

import entity.Order;
import entity.Product;


/**
 * @author Chigco.Orc
 *
 */
public class UserVo {
	public UserVo() {
	}
	/*
	 * 注册
	 */
	public UserVo(String userId,String pass,String eMail,Long registTime) {
		this.userId = userId;
		this.pass = pass;
		this.eMail = eMail;
		this.registTime = registTime;
	}
	/*
	 * 登录
	 */
	public UserVo(String userId,String pass) {
		this.userId = userId;
		this.pass = pass;
	}
	private Long id;
	private String userId;
	private String pass;
	private String eMail;
	private int integral;
	private String lastLoginTime;			//上次登录的时间
	private String imagesUrl;			//用户头像地址
	private List<Product> products;
	private List<Order> orders;
	public List<Order> getOrders() {
		return orders;
	}
	public void setOrders(List<Order> orders) {
		this.orders = orders;
	}
	public List<Product> getProducts() {
		return products;
	}
	public void setProducts(List<Product> products) {
		this.products = products;
	}
	public String getImagesUrl() {
		return imagesUrl;
	}
	public void setImagesUrl(String imagesUrl) {
		this.imagesUrl = imagesUrl;
	}
	private Long registTime;


	/*
	 * 选填资料 
	 */
	private String name;      //真实姓名    
	private String date;       //出生日期    
	private int sex;            //性别  0 男 1 女    
	private String code;         //邮编     
	private String tel;			   //移动电话     
	private String phone;  //固定电话     
	private String otherPhone;  //其他联系电话     
	private String address;  //地址      
	private String descAddress;  //详细地址    
	private String qq; //QQ    
	private String msn;  //MSN    
	private String skype;  //SKYPE
	private String taobao;  //TAOBAO
	
	
	public int getIntegral() {
		return integral;
	}
	public void setIntegral(int integral) {
		this.integral = integral;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public int getSex() {
		return sex;
	}
	public void setSex(int sex) {
		this.sex = sex;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String geteMail() {
		return eMail;
	}
	public void seteMail(String eMail) {
		this.eMail = eMail;
	}
	public String getOtherPhone() {
		return otherPhone;
	}
	public void setOtherPhone(String otherPhone) {
		this.otherPhone = otherPhone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getDescAddress() {
		return descAddress;
	}
	public void setDescAddress(String descAddress) {
		this.descAddress = descAddress;
	}
	public String getQq() {
		return qq;
	}
	public void setQq(String qq) {
		this.qq = qq;
	}
	public String getMsn() {
		return msn;
	}
	public void setMsn(String msn) {
		this.msn = msn;
	}
	public String getSkype() {
		return skype;
	}
	public void setSkype(String skype) {
		this.skype = skype;
	}
	public String getTaobao() {
		return taobao;
	}
	public void setTaobao(String taobao) {
		this.taobao = taobao;
	}
	
	private String systemCode;
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getPass() {
		return pass;
	}
	public void setPass(String pass) {
		this.pass = pass;
	}
	public String getSystemCode() {
		return systemCode;
	}
	public void setSystemCode(String systemCode) {
		this.systemCode = systemCode;
	}
	public Long getRegistTime() {
		return registTime;
	}
	public void setRegistTime(Long registTime) {
		this.registTime = registTime;
	}
	public String getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(String lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
}
